vpn_active_sessions
Configuration for Af report for VPN Session resource.
Read/write properties
total_bytes_received<Double>
Total Bytes Received.
session_end_time<Double>
vpn session end time.
state<String>
State (Active/Idle/Terminated).
Minimum length = 1
Maximum length = 128
bandwidth<Double>
Avg Bandwidth..
id<String>
Id is VPN Session ID.
Minimum length = 1
Maximum length = 64
up_time<Double>
Session Up Time.
os_type<String>
OS type.
Maximum length = 128
server_ip<String>
Server IP Address..
Maximum length = 64
city_name<String>
City.
Minimum length = 1
Maximum length = 128
vpn_user_name<String>
Name of VPN User.
Minimum length = 1
Maximum length = 128
region_name<String>
Region.
Minimum length = 1
Maximum length = 128
rpt_sample_time<Double>
Report Sample time..
client_ip<String>
Client IP Address..
Maximum length = 64
session_type<String>
Session type.
Maximum length = 128
gateway_ipaddress<String>
Gateway IPAddress.
Minimum length = 1
Maximum length = 128
gateway_fqdn<String>
FQDN of Gateway.
Minimum length = 1
Maximum length = 128
logout_mode<String>
Logout Reason.
Minimum length = 1
Maximum length = 128
device_ip_address<String>
Device IP Address..
Minimum length = 1
Maximum length = 64
session_setup_time<Double>
vpn session start time.
total_bytes<Double>
Total Bytes.
country_name<String>
Country.
Minimum length = 1
Maximum length = 128
__count<Double>
count..
total_bytes_sent<Double>
Total Bytes Sent.
Operations
NOTE: In request payload, Mandatory parameters are marked red and bold.
The following parameters can be used in the nitro request :
onerror <String_value>
Use this parameter to set the onerror status for nitro request. Applicable only for bulk requests.
Default value: EXIT
Possible values = EXIT, CONTINUE
URL:https://<MGMT-IP>/nitro/v2/config/vpn_active_sessions
Query-parameters:
report_start_time
Use this query-parameter to specify the start time from which the summary for report is considered.
Possible Values:time in milli seconds
report_end_time
Use this query-parameter to specify the end time until where summary for report is considered.
Possible Values:time in milli seconds
HTTPS Method:GET
HTTPS Request Headers:
Accept:application/json
X-NITRO-USER:username_value<String>
X-NITRO-PASS:password_value<String>
or
Cookie:NITRO_AUTH_TOKEN=token_value<String>
Response:
HTTPS Status Code on Success: 200 OK HTTPS Status Code on Failure: 4xx
Response Headers:
Content-Type:application/json
Response Payload:JSON
{ "errorcode": 0, "message": "Done", "severity": <String_value>, "vpn_active_sessions":[{
"total_bytes_received":<Double_value>,
"session_end_time":<Double_value>,
"state":<String_value>,
"bandwidth":<Double_value>,
"id":<String_value>,
"up_time":<Double_value>,
"os_type":<String_value>,
"server_ip":<String_value>,
"city_name":<String_value>,
"vpn_user_name":<String_value>,
"region_name":<String_value>,
"rpt_sample_time":<Double_value>,
"client_ip":<String_value>,
"session_type":<String_value>,
"gateway_ipaddress":<String_value>,
"gateway_fqdn":<String_value>,
"logout_mode":<String_value>,
"device_ip_address":<String_value>,
"session_setup_time":<Double_value>,
"total_bytes":<Double_value>,
"country_name":<String_value>,
"__count":<Double_value>,
"total_bytes_sent":<Double_value>}]}